package browserUI
{
	import flash.events.Event;
	
	public class BrowserEvent extends Event
	{
		public static const PAGE_LOADED:String="pageLoaded";
		public static const BROWSE_COMMAND:String="browseCommand";
		public static const BACK_COMMAND:String="backCommand";
		public static const FORWARD_COMMAND:String="forwardCommand";
		public static const NEW_TAB_COMMAND:String="newTabCommand";
		
		public function BrowserEvent(type:String)
		{
			super(type);
		}
		
		public var url:String;
		
		public override function clone():Event{
			var evt:BrowserEvent=new BrowserEvent(type);
			evt.url=url;
			return evt;
		}
	}
}